package com.stu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

public class Myorder implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "myorder_id", type = IdType.AUTO)
    private Integer myorderId;

    private Integer addressId;

    private Integer couponId;

    private Integer userId;

    private String myorderNumber;

    private Float myorderPrice;

    private Float couponPrice;

    private String myorderCreateTime;

    private Integer myorderStatus;

    private String m1;

    private String m2;

    public Integer getMyorderId() {
        return myorderId;
    }

    public void setMyorderId(Integer myorderId) {
        this.myorderId = myorderId;
    }
    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }
    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getMyorderNumber() {
        return myorderNumber;
    }

    public void setMyorderNumber(String myorderNumber) {
        this.myorderNumber = myorderNumber;
    }
    public Float getMyorderPrice() {
        return myorderPrice;
    }

    public void setMyorderPrice(Float myorderPrice) {
        this.myorderPrice = myorderPrice;
    }
    public Float getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(Float couponPrice) {
        this.couponPrice = couponPrice;
    }
    public String getMyorderCreateTime() {
        return myorderCreateTime;
    }

    public void setMyorderCreateTime(String myorderCreateTime) {
        this.myorderCreateTime = myorderCreateTime;
    }
    public Integer getMyorderStatus() {
        return myorderStatus;
    }

    public void setMyorderStatus(Integer myorderStatus) {
        this.myorderStatus = myorderStatus;
    }
    public String getm1() {
        return m1;
    }

    public void setm1(String m1) {
        this.m1 = m1;
    }
    public String getm2() {
        return m2;
    }

    public void setm2(String m2) {
        this.m2 = m2;
    }

    @Override
    public String toString() {
        return "Myorder{" +
            "myorderId=" + myorderId +
            ", addressId=" + addressId +
            ", coupon id=" + couponId +
            ", userId=" + userId +
            ", myorderNumber=" + myorderNumber +
            ", myorderPrice=" + myorderPrice +
            ", couponPrice=" + couponPrice +
            ", myorderCreateTime=" + myorderCreateTime +
            ", myorderStatus=" + myorderStatus +
            ", m1=" + m1 +
            ", m2=" + m2 +
        "}";
    }
}
